package com.tencent.wxcloudrun.mapper;

import com.tencent.wxcloudrun.dto.Pingtuan;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @Entity com.tencent.wxcloudrun.dto.Pingtuan
 */
@Mapper
public interface PingtuanMapper {
    /**
     *
     * @param goodsId
     * @return
     */
    @Select("SELECT id FROM pingtuan WHERE goodid = #{goodsId}")
    int pingtuanOpen(Integer goodsId);
}




